﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CapNhatPhiNhaTuyenDung.ascx.cs"
    Inherits="TuyenDungViecLam.User_control_VN.CapNhatPhiNhaTuyenDung" %>
<asp:UpdatePanel ID="updatepanel" runat="server">
    <ContentTemplate>
        <div class="art-Block">
            <div class="art-Block">
                <div class="art-Block-tl">
                </div>
                <div class="art-Block-tr">
                </div>
                <div class="art-Block-bl">
                </div>
                <div class="art-Block-br">
                </div>
                <div class="art-Block-tc">
                </div>
                <div class="art-Block-bc">
                </div>
                <div class="art-Block-cl">
                </div>
                <div class="art-Block-cr">
                </div>
                <div class="art-Block-cc">
                </div>
                <div class="art-Block-body">
                    <div class="art-BlockHeader">
                        <div class="art-header-tag-icon">
                            <div class="t">
                                Cập nhật phí cho nhà tuyển dụng</div>
                        </div>
                    </div>
                    <div class="art-BlockContent">
                        <table class="style1">
                            <tr>
                                <td class="style2">
                                    Nhà tuyển dụng :
                                    <asp:TextBox ID="tbtukhoa" runat="server" Height="20px" Width="150px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="bttimkiem" runat="server" Text="Tìm kiếm" CssClass="button" OnClick="bttimkiem_Click" />
                                    <%--<asp:LinkButton ID="lbtimkiem" runat="server" CssClass="button" Style="text-align: center;
                            color: White" OnClick="LinkButton1_Click">Tìm việc</asp:LinkButton>--%>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <br />
                        <asp:GridView ID="grdNhaTuyenDung" runat="server" AutoGenerateColumns="False" Width="100%"
                            CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" OnPageIndexChanging="grdNhaTuyenDung_PageIndexChanging"
                            OnSelectedIndexChanging="grdNhaTuyenDung_SelectedIndexChanging">
                            <RowStyle CssClass="RowsGridMain" BackColor="white" ForeColor="#333333" />
                            <Columns>
                                <asp:TemplateField ItemStyle-Width="10%">
                                    <ItemTemplate>
                                        <%# LayTinhTrang(Eval("TinhTrangPhi")) %>
                                        <asp:Label ID="LbUserID" runat="server" Text='<%# Eval("user_id") %>' Visible="false"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="10%"></ItemStyle>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Nhà tuyển dụng" SortExpression="Ten" ItemStyle-Width="30%">
                                    <ItemTemplate>
                                        <asp:Label ID="lbNTD" runat="server" Text='<%# Eval("Ten") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Người đại diện" SortExpression="NguoiDaiDien" ItemStyle-Width="15%">
                                    <ItemTemplate>
                                        <asp:Label ID="lbNguoiDaiDien" runat="server" Text='<%# Eval("NguoiLienHe") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="200px" />
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Email" ItemStyle-Width="15%">
                                    <ItemTemplate>
                                        <asp:Label ID="lbEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="200px" />
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Địa chỉ" ItemStyle-Width="10%">
                                    <ItemTemplate>
                                        <asp:Label ID="lbDiaChi" runat="server" Text='<%#  Eval("TenTinhThanh") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="200px" />
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Phí" ItemStyle-Width="15%">
                                    <ItemTemplate>
                                        <asp:Label ID="lbPhi" runat="server" Text='<%# Eval("TenPhi") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="200px" />
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:TemplateField>
                                <asp:CommandField ShowSelectButton="True" />
                            </Columns>
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="PagingGrid" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle CssClass="HeaderGrid" />
                            <AlternatingRowStyle CssClass="RowsGrid" />
                        </asp:GridView>
                        <br />
                        <br />
                        <hr />
                        <div id="CapNhatdiv" runat="server" visible="true">
                            <div>
                                <div class="label_register">
                                    <asp:Label ID="Label3" runat="server">Chọn nhà tuyển dụng</asp:Label>
                                </div>
                                <div class="textbox_register">
                                    <%--<asp:DropDownList ID="DSNhaTuyenDungddr" runat="server">
                                    </asp:DropDownList>--%>
                                    <asp:Label ID="LbNhaTuyenDung" runat="server" Text=""></asp:Label>
                                    <asp:Label ID="LbUserID" runat="server" Text="Label" Visible="false"></asp:Label>
                                </div>
                            </div>
                            <div>
                                <div class="label_register">
                                    <asp:Label ID="Label2" runat="server">Loại phí</asp:Label>
                                </div>
                                <div class="textbox_register">
                                    <asp:DropDownList ID="DSPhiddr" CssClass="tb_2" runat="server" Width="200px" OnSelectedIndexChanged="DSPhiddr_SelectedIndexChanged"
                                        AutoPostBack="true">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div>
                                <div style="margin-left: 300px; padding-top: 5px;">
                                    <asp:Label ID="SoTienChuyenlbl" runat="server"></asp:Label>
                                </div>
                            </div>
                            <div>
                                <div class="label_register">
                                    <asp:Label ID="Label1" runat="server">Hình thức :</asp:Label>
                                </div>
                                <div class="textbox_register">
                                    <asp:DropDownList ID="HinhThucddr" CssClass="tb_2" runat="server" Width="200px" OnSelectedIndexChanged="DSPhiddr_SelectedIndexChanged"
                                        AutoPostBack="true">
                                        <asp:ListItem Value="Chuyển tiền">Chuyển tiền</asp:ListItem>
                                        <asp:ListItem Value="Tiền mặt">Tiền mặt</asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div>
                                <div style="margin-left: 300px; clear: both">
                                    <asp:Button ID="CapNhatbtn" CssClass="button" runat="server" Text="Đồng ý" OnClick="CapNhatbtn_Click">
                                    </asp:Button>
                                </div>
                                <div style="margin-left: 300px; clear: both">
                                    <asp:Button ID="Button1" CssClass="button" runat="server" Text="gửi mail" OnClick="Button1_Click">
                                    </asp:Button><asp:Label ID="lbthongbao1" runat="server"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div id="thongbao" visible="false" runat="server">
                            <center>
                                <asp:Label ID="lbthongbao" runat="server"></asp:Label>
                            </center>
                            <div id="quaylai" visible="true" runat="server" style="margin-left: 600px">
                                <asp:ImageButton ID="QuayVeThanhToan" runat="server" ImageUrl="~/images/back-icon.png"
                                    OnClick="ImageButton3_Click" Visible="false" />
                                
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </ContentTemplate>
</asp:UpdatePanel>
